const express = require("express")
const cors = require("cors")
const app = express()

const router = require("./router")
app.use(cors())
app.use("/api", router)

app.listen(9000, () => {
    console.log("server on 9000");
})